//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Core
{
    public interface ICompositeUndoUnit: IUndoUnit
    {
        void Add(IUndoUnit unit);

        void Close();

        ICompositeUndoUnit OpenedUnit { get;}
        object Parent { get;set;}

        void Open(ICompositeUndoUnit unit);
        string Text { get;}
        bool IsEmpty { get; }
    }
}
